import requests


def Ihrm_code(data):
    session=requests.Session()
    resp=session.post(url="http://ihrm-test.itheima.net/api/sys/login",
                      json=data)
    return resp
if __name__ == '__main__':
    data= {"mobile": "13800000002", "password": "123456"}
    print(Ihrm_code(data))